import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//1，引入element-ui库
import ElementUI from "element-ui"
//引入element-ui样式
import 'element-ui/lib/theme-chalk/index.css'
//3.Vue.use(ElementUI)
Vue.use(ElementUI)
Vue.config.productionTip = false
    //引入axios
    // let axios=require("axios"); 这种引入方式是ES6中commonJS里引入模块方式
import axios from "axios"
Vue.prototype.$http = axios;
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')